#示例 /原始镜像
FROM redis:6.0.6
#作者
MAINTAINER qioa<>
#
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo 'Asia/Shanghai' > /etc/timezone \
    && chomd 777 /usr/local/redis/redis.conf
#配置映射端口
EXPOSE 6379
CMD ["redis-server","/usr/local/etc/redis/redis.conf"]

